﻿@model WEBBANGDIA.Models.DatHang

@{
    ViewBag.Title = "Create";
}

<h2>Create</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Đặt hàng</legend>
        <div class="editor">
            <div class="editor-label">
                Tài Khoản
            </div>
            <div class="editor-field">
                @Html.DropDownList("MaTK", String.Empty)
                @Html.ValidationMessageFor(model => model.MaTK)
            </div>
        </div>
        <div class="editor">
            <div class="editor-label">
                Băng đĩa
            </div>
            <div class="editor-field">
                @Html.DropDownList("MaBD", String.Empty)
                @Html.ValidationMessageFor(model => model.MaBD)
            </div>
        </div>
        <div class="editor">
            <div class="editor-label">
                @Html.LabelFor(model => model.MaLoaiHinh, "Loại hình giao dịch")
            </div>
            <div class="editor-field">
                @Html.DropDownList("MaLoaiHinh", String.Empty)
                @Html.ValidationMessageFor(model => model.MaLoaiHinh)
            </div>
        </div>
        <div class="editor">
            <p>
                <input type="submit" value="Create" />
            </p>
        </div>
</fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
